package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.PutawayRegisterDTO;
import com.arpa.wms.domain.entity.PutawayRegister;
import com.arpa.wms.domain.vo.PutawayRegisterVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 上架确认 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-08-04
 */
public interface PutawayRegisterMapper extends BaseMapper<PutawayRegister> {

    /**
     * 查询列表
     * @param putawayRegisterDTO
     * @return
     */
    List<PutawayRegisterVO> queryList(PutawayRegisterDTO putawayRegisterDTO);

    /**
     * 查询合计,包含总数
     * @param putawayRegisterDTO
     * @return
     */
    PutawayRegisterVO queryListSum(PutawayRegisterDTO putawayRegisterDTO);

    List<PutawayRegisterVO> queryListByCodes( @Param("codes")List<String> codes, @Param("groupCode") String groupCode);

}
